package operation;

import book.BookList;

public class Display implements IOperation{
    public void work(BookList bookList) {
        System.out.println("==显示图书==");

        int currentUserSize = bookList.getUsedSize();
        for (int i = 0; i < currentUserSize; i++) {
            System.out.println(bookList.getPosBooks(i));
        }
    }
}
